Evaluates: MAXQ610
The gpio example uses a timer on the MAXQ610 to blink
four LEDs. The first four pins of Port 3 are wired to these
LEDs, and can be manipulated by the software. By shift-
ing the mask variable, the position of the high bit moves
through the mask to the bit for each LED ( Figure 6 ). The
PD3 register controls the direction of the pins on Port 3.
Setting these bits to one configures them for output and
allows the voltage to be driven low to turn on the LED.
A timer in the MAXQ610 is then used to control the blink
rate of the LEDs. The timer is initialized to count at a con-
stant rate (Sysclk/256) from 0 up to 0xB71B. The default
Sysclk is 12MHz, making the timer raise its flag every
second ( Figure 9 ).
Figure 9. Timer Initialization
www.maximintegrated.com
MAXQ610 Evaluation Kit
In the blinkLED() function, the mask is used to toggle one
of the LEDs count number of times. Setting the bits of the
P03 register to zero turns on the LED. Raising the bits to
one turns off the LED ( Figure 10 ).
IAR allows the user to view variable and register values
while debugging. To watch a register or variable, right-
click on the expression and select Add to Watch . When
execution has been halted by breakpoint or pressing
the Break button, these values are updated and can be
changed by the user ( Figure 11 ). Registers can also be
viewed by selecting the View menu and clicking Register .
Maxim Integrated │ 11
相关PDF资料
MB2146-401-01A KIT STARTER F2MC-8FX 3V
MB2146-401-03A KIT STARTER F2MC-8FX 5V
MB2146-410A-01-E KIT STARTER MB95200/210H SERIES
MB85R1001ANC-GE1 IC FRAM 1MBIT 150NS 48TSOP
MB85R1002ANC-GE1 IC FRAM 1MBIT 150NS 48TSOP
MB85R256FPFCN-G-BNDE1 IC FRAM 256KBIT 150NS 28TSOP
MB85RC128PNF-G-JNE1 IC FRAM 128KBIT 400KHZ 8SOP
MB85RC16PNF-G-JNE1 IC FRAM 16KBIT 1MHZ 8SOP
相关代理商/技术参数
MAXQ610K-UEI+ 制造商:Maxim Integrated Products 功能描述:MAXQ610 BLANK 44TQFP UEI - Rail/Tube
MAXQ610X-0000 功能描述:16位微控制器 - MCU RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
MAXQ610X-0000+ 功能描述:MCU 16BIT W/IR MODULE BARE DIE RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:MAXQ® 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:260 系列:73S12xx 核心处理器:80515 芯体尺寸:8-位 速度:24MHz 连通性:I²C,智能卡,UART/USART,USB 外围设备:LED,POR,WDT 输入/输出数:9 程序存储器容量:64KB(64K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:2K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:- 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:68-VFQFN 裸露焊盘 包装:管件
MAXQ610X-0001+ 功能描述:MAXQ610X PROG TESTED DIE WAFFLE RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:MAXQ® 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:260 系列:73S12xx 核心处理器:80515 芯体尺寸:8-位 速度:24MHz 连通性:I²C,智能卡,UART/USART,USB 外围设备:LED,POR,WDT 输入/输出数:9 程序存储器容量:64KB(64K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:2K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:- 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:68-VFQFN 裸露焊盘 包装:管件
MAXQ610X-2001+ 功能描述:16位微控制器 - MCU RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
MAXQ610X-2021+ 制造商:Maxim Integrated Products 功能描述:16-BIT MICROCONTROLLER WITH INFRARED MODULE - Gel-pak, waffle pack, wafer, diced wafer on film
MAXQ610X-UEI+ 制造商:Maxim Integrated Products 功能描述:MAXQ610 BLANK WLP UEI - Gel-pak, waffle pack, wafer, diced wafer on film
MAXQ612 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:16-Bit Microcontrollers with Infrared Module and Optional USB